/*
 * @Date: 2023-07-27 20:33:01
 * @LastEditors: zhangsongwei
 * @LastEditTime: 2023-08-03 10:25:01
 * @FilePath: /z/src/components/index.tsx
 * @description:
 */
/**
 * 路由组件出口文件
 * yezi 2018年6月24日
 */
import Loadable from "react-loadable";
import Loading from "./widget/Loading";
import BasicForm from "./forms/BasicForm";
import BasicTable from "./tables/BasicTables";
import AdvancedTable from "./tables/AdvancedTables";
import AsynchronousTable from "./tables/AsynchronousTable";
import Echarts from "./charts/Echarts";
import Recharts from "./charts/Recharts";
import Icons from "./ui/Icons";
import Buttons from "./ui/Buttons";
import Spins from "./ui/Spins";
import Modals from "./ui/Modals";
import Notifications from "./ui/Notifications";
import Tabs from "./ui/Tabs";
import Banners from "./ui/banners";
import Drags from "./ui/Draggable";
import Dashboard from "./dashboard/Dashboard";
import Gallery from "./ui/Gallery";
import BasicAnimations from "./animation/BasicAnimations";
import ExampleAnimations from "./animation/ExampleAnimations";
import AuthBasic from "./auth/Basic";
import RouterEnter from "./auth/RouterEnter";
import Cssmodule from "./cssmodule";
import MapUi from "./ui/map";
import QueryParams from "./extension/QueryParams";
import Visitor from "./extension/Visitor";
import MultipleMenu from "./extension/MultipleMenu";
import Sub1 from "./smenu/Sub1";
import Sub2 from "./smenu/Sub2";

import FirstPage from "../pages/dashbord/index";

const WysiwygBundle = Loadable({
  // 按需加载富文本配置
  loader: () => import("./ui/Wysiwyg"),
  loading: Loading,
});

export default {
  BasicForm,
  BasicTable,
  AdvancedTable,
  AsynchronousTable,
  Echarts,
  Recharts,
  Icons,
  Buttons,
  Spins,
  Modals,
  Notifications,
  Tabs,
  Banners,
  Drags,
  Dashboard,
  Gallery,
  BasicAnimations,
  ExampleAnimations,
  AuthBasic,
  RouterEnter,
  WysiwygBundle,
  Cssmodule,
  MapUi,
  QueryParams,
  Visitor,
  MultipleMenu,
  Sub1,
  Sub2,
  FirstPage,
} as any;
